package tr.edu.metu.is.mega.client.widgets;

import com.extjs.gxt.ui.client.widget.form.SpinnerField;

/**
 * MEGA spinner field component.
 */
public class MegaSpinnerField extends SpinnerField implements MegaField {

    /**
     * Default constructor.
     *
     * @param bindAttribute bind attribute
     */
    public MegaSpinnerField(String bindAttribute) {
        super();
        setName(bindAttribute);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getBoundAttribute() {
        return getName();
    }

}
